Skip to content

Conversation

@Leonabcd123
Copy link
Contributor

@Leonabcd123 Leonabcd123 commented Dec 5, 2025

Description

When indicate typos is set to replace or to both, make sure to have tabs replaced with _.

Current behavior is that the literal tab character replaces the char, making it disappear.

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Dec 5, 2025
@Leonabcd123
Copy link
Contributor Author

Leonabcd123 commented Dec 5, 2025

Also, I'm pretty sure that checking whether inputChars[i] === " " is useless, as inputChars will never contain a space (inputChars is just input split into characters, input is TestInput.input.current, and TestInput.input.current will be empty after a space).

There's this one time where input is inputOverride, and that should be just TestInput.input.current + options.data (hopefully options.data doesn't contain spaces?).

Gone is my confidence, we can't do this.

@Leonabcd123 Leonabcd123 force-pushed the fix-tab-in-indicate-typos-replace branch from 9485d2b to 0618944 Compare December 10, 2025 19:41
@Miodec Miodec merged commit 3482242 into monkeytypegame:master Dec 10, 2025
13 checks passed
@Leonabcd123 Leonabcd123 deleted the fix-tab-in-indicate-typos-replace branch December 10, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants